package com.imy.common.util;

import androidx.appcompat.app.AppCompatActivity;

import com.gyf.immersionbar.BarHide;
import com.gyf.immersionbar.ImmersionBar;

public class ImmersionBarUtils {

    public static void initFullScreen(AppCompatActivity appCompatActivity){
        ImmersionBar.with(appCompatActivity)
                .fullScreen(true)
                .hideBar(BarHide.FLAG_HIDE_BAR)
                .reset()
                .keyboardEnable(true)
                .init();
    }
}
